import request from '@/utils/request'

// 查询学生笔记列表
export function listFoot(query) {
  return request({
    url: '/auto/foot/list',
    method: 'get',
    params: query
  })
}

// 查询学生笔记详细
export function getFoot(id) {
  return request({
    url: '/auto/foot/' + id,
    method: 'get'
  })
}

// 新增学生笔记
export function addFoot(data) {
  return request({
    url: '/auto/foot',
    method: 'post',
    data: data
  })
}

// 修改学生笔记
export function updateFoot(data) {
  return request({
    url: '/auto/foot',
    method: 'put',
    data: data
  })
}

// 删除学生笔记
export function delFoot(id) {
  return request({
    url: '/auto/foot/' + id,
    method: 'delete'
  })
}

// 导出学生笔记
export function exportFoot(query) {
  return request({
    url: '/auto/foot/export',
    method: 'get',
    params: query
  })
}